package org.dreamwork.tools.code.analyzer.core;

import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class ModuleStatisticInfo {
    int dirs, files;
    final List<Path> ignoredDirs = new ArrayList<> ();
    final List<Path> ignoredFiles = new ArrayList<> ();
    final List<Path> target = new ArrayList<> ();

    public List<Path> getIgnoredDirs () {
        return Collections.unmodifiableList (ignoredDirs);
    }

    public List<Path> getIgnoredFiles () {
        return Collections.unmodifiableList (ignoredFiles);
    }

    public List<Path> getTarget () {
        return Collections.unmodifiableList (target);
    }

    public int getTotalDirs () {
        return dirs;
    }

    public int getTotalFiles () {
        return files;
    }

    public void clear () {
        ignoredFiles.clear ();
        ignoredDirs.clear ();
        target.clear ();
    }
}